package service

import (
	"go-api-template/entity"
)

type UserService interface {
	Create(u *entity.UserReq) error
	Update(id int64, u *entity.UserReq) error
	Delete(id int64) error
	Find(id int64) (*entity.UserResp, error)
	QueryPage(f *entity.UserFilter) (*entity.UserPaginationResp, error)
}

type UserServiceImpl struct {
}

func (c *UserServiceImpl) Create(u *entity.UserReq) error {
	return nil
}

func (c *UserServiceImpl) Update(id int64, u *entity.UserReq) error {
	return nil
}

func (c *UserServiceImpl) Delete(id int64) error {
	return nil
}

func (c *UserServiceImpl) Find(id int64) (*entity.UserResp, error) {
	return nil, nil
}

func (c *UserServiceImpl) QueryPage(f *entity.UserFilter) (*entity.UserPaginationResp, error) {
	return nil, nil
}
